<template>
	<web-view :src="url" webview-styles="webviewStyles"></web-view>
</template>

<script lang="ts" setup>
	import { ref } from 'vue';
	import { onLoad } from '@dcloudio/uni-app';
	const url = ref('');
	const webviewStyles = ref({
		progress: {
			color: '#FF3333'
		}
	}) 
	onLoad(() => {
		uni.getStorage({
			key: 'JUMPWEBURL',
			success: function (res) {
				url.value = res.data;
				console.log(res.data);
			}
		});
		console.log('当前url',url)
	})
	
</script>

<style lang="scss" scoped>
</style>